package com.ad.pet.ui.pickerview.adapter;

/**
 * Created by liuyixiang on 2017/11/13.
 */

public class RangeWheelAdapter implements WheelAdapter {
    String mStrings = "上中下";
    @Override
    public int getItemsCount() {
        return 3;
    }

    @Override
    public Character getItem(int index) {
        return mStrings.charAt(index);
    }

    @Override
    public int indexOf(Object o) {
        return mStrings.indexOf((Character) o);
    }
}
